package com.jueling.culture.enums;

/**
 * @author linp
 * @date 2018/11/7
 */
public enum YesNoEnum {
    /**
     * 是
     */
    YES("1","是"),
    /**
     * 否
     */
    NO("0","否"),
    /**
     * 错误
     */
    ERR("-1","错误");

    private String code;
    private String desc;

    YesNoEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
